package com.example.mapper.commodity;

import com.example.pojo.stock.Product_import;
import com.example.pojo.stock.Product_scrap;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.example.mapper.commodity
 *
 * @author foam
 * create 2020-12-19
 **/
@Repository
@Mapper
public interface ScrapMapper {

    //显示所有报废信息
    List<Product_scrap> queryAll();

    //根据入库日期编号查询
    Product_scrap queryByDate(String date);

    //插入报废信息
    int insertScrap(Product_scrap product_scrap);

}
